/** @type {import('next').NextConfig} */
const nextConfig = {
  rewrites: async () => {
    return [
      // { source: "/api/v2/:path*", destination: "http://localhost:8002/:path*" },
      {
        source: "/:path*",
        destination: "http://localhost:8000/:path*",
      },
    ];
  },
  experimental: {
    swcPlugins: [
      ["fluentui-next-appdir-directive", { paths: ["@griffel", "@fluentui"] }],
    ],
  },
};

export default nextConfig;
